package API.Collections;

import java.util.ArrayList;
import java.util.Collections;

public class shuffle {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        for(int i = 1; i <= 10; i++){
            list.add(i);
        }
        Collections.shuffle(list);
        for(int i : list) {
            System.out.println(i);
        }
    }
}
